import { createRouter, createWebHashHistory } from 'vue-router'

import BarView from './components/BarView.vue'
import FooView from './components/FooView.vue'

const routes = [
  { path: '/', component: BarView },
  { path: '/foo', component: FooView }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
